package com.company.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.company.project.pojo.user.User;
import com.company.project.pojo.user.UserDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 用户 Mapper 接口
 * </p>
 *
 * @author 任建波
 * @since 2019-08-09
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**用户列表*/
    IPage<UserDTO> getUserList(Page page);

//    IPage<User> getUserList(Page page, @Param("userDTO") UserDTO userDTO);

}
